package com.neuedu.model;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

//面向数据库表格设计一个数据实体类

public class UserMessage {

	
	private int userNo;
	private String userName;
	private String nickName;
	private String password;
	private String userEmail;
	private String userPhone;
	@JSONField(format="yyyy/MM/dd")
	private Date userDate;
	

	public UserMessage() {
		super();
	}
	
	
	public UserMessage(int userNo, String userName, String nickName, String password, String userEmail,
			String userPhone, Date userDate) {
		super();
		this.userNo = userNo;
		this.userName = userName;
		this.nickName = nickName;
		this.password = password;
		this.userEmail = userEmail;
		this.userPhone = userPhone;
		this.userDate = userDate;
	}
	
	
	public int getUserNo() {
		return userNo;
	}
	public void setUserNo(int userNo) {
		this.userNo = userNo;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUserEmail() {
		return userEmail;
	}
	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}
	public String getUserPhone() {
		return userPhone;
	}
	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}
	public Date getUserDate() {
		return userDate;
	}
	public void setUserDate(Date userDate) {
		this.userDate = userDate;
	}
	
	
}
